<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProjectMadaktariMVC.Models.Procedure>" %>

 <div class="procedure_edit"><%= Html.ActionLink("Edit", "EditProcedure", new { procedureId = Model.procedureID}) %></div>

 <div class="form_block">
                   
            
            <span class="form_label">Procedure Date</span>
                <%= Model.date == null ? "--" : ((DateTime)Model.date).ToString("MM/dd/yyyy")%>
            </div>
            
            <div class="form_block">
                <span class="form_label">Procedure</span>
                <%= Model.ProcedureType == null ? "" : Model.ProcedureType.procedureTypeName%>
            </div>
            <div class="form_block">
                <span class="form_label">Anestesia</span>
                <%= Model.anestesia%>
            </div>
            
            <div class="form_block">
                <span class="form_label">Surgeon</span>
                <%= Model.Surgeon == null ? "" : Model.Surgeon.lName%>
            </div>
            <div class="form_block">
                <span class="form_label">Surgical Complications</span>
                <%= Model.complications%>
            </div>
            <div class="form_block">
                <span class="form_label">Case Comments</span>
                <%= Model.caseComments%>
            </div>
            <div class="form_block">
                <span class="form_label">Image Findings</span>
                <%= Model.imageFindings%>
            </div>
   